package com.yloveg.impl;

import java.util.Date;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.yloveg.dao.VPollLogsMapper;
import com.yloveg.entity.VPollLogs;
import com.yloveg.service.VPollLogsService;

@Service
public class VPollLogsServiceImpl implements  VPollLogsService {
 
    @Autowired
    private VPollLogsMapper vPollLogsMapper;

	@Override
	public int insert(VPollLogs record) {
		// TODO Auto-generated method stub
		record.setCreateTime(new Date());
		record.setSts("Y");
		return vPollLogsMapper.insert(record);
	}
}
